<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@include file="/resource/common/taglib.jspf"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${SESSION_COMPANY}-模块管理</title>
<%@include file="/resource/common/jquery.jspf"%>
<%@include file="/resource/common/bootstrap.jspf"%>
<%@include file="/resource/common/ztree.jspf"%>
<%@include file="/resource/common/validate.jspf"%>
<%@include file="/resource/common/showLoading.jspf"%>
<script type="text/javascript" src="${ctxStatic }/plugins/jquery/jquery.ztree/ztreeLayerOpenSelectedUtils.js"></script>
<script type="text/javascript">
	//selectedAuthority.settingInit("allotMenuAuthorityJson.do");
	var path = "${ctx }";
	$(document).ready(function() {
		//$("body").showLoading();
		//selectedAuthority.initZTree("treeDemo");
		$("treeDemo").ztreeUtils({
			url : "allotMenuAuthorityJson.do",
			rootNode : "treeDemo",
			checkNodes : "#authority",
			checkNodeName : "#checkName",
			jsValueCheck :"#authority"
		});
	});
</script>
</head>
<body>
	<div id="body-wrapper">
		<div id="main-content">
			<div class="tab-content default-tab" id="tab1">
				<div class="zTreeDemoBackground left">
					<input type="hidden" id="checkName" name="checkName" value="${checkName }" /> 
					<input type="hidden" id="authority" name="authority" value="${ids }" /> 
					<ul id="treeDemo" class="ztree">

					</ul>
				</div>
			</div>
		</div>
	</div>
	<style type="text/css">
A.MzTreeview {
	font-size: 9pt;
	padding-left: 0px;
}

div.zTreeDemoBackground {
	width: 250px;
	height: 260px;
	text-align: left;
}

ul.ztree {
	margin-top: 0px;
	border: 1px solid #ccc;
	background: #f0f6e4;
	width: 300px;
	height: 260px;
	overflow-y: auto;
	overflow-x: auto;
	position: absolute;
	z-index: 999
}
</style>
</body>
</html>